const myTarget = {
    bar:'baz',
};

const proxy = new Proxy(myTarget, {
    has(target, property) {
        console.log('has()');
        return Reflect.get(...arguments);
    }
});


console.log('foo' in proxy);  
console.log('bar' in proxy);

